﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MDX_Studio_v2
{
	public partial class MainForm
	{
		/// <summary>
		/// Event Fired on request to Open
		/// </summary>
		/// <param name="sender"></param>
		/// <param name="e"></param>
		private void toolstrip_Open_Click(object sender, EventArgs e)
		{
			openFileDialog1.ShowDialog();		// Show the open-file dialog
		}
		/// <summary>
		/// Event Fired when a file is selected for open
		/// </summary>
		/// <param name="sender"></param>
		/// <param name="e"></param>
		private void openFileDialog1_FileOk(object sender, CancelEventArgs e)
		{
			// TODO
			foreach (string filename in openFileDialog1.FileNames)
			{
				MessageBox.Show(filename);
			}
		}


		/// <summary>
		/// Event fired on request Save
		/// </summary>
		/// <param name="sender"></param>
		/// <param name="e"></param>
		private void toolstrip_Save_Click(object sender, EventArgs e)
		{

		}
		/// <summary>
		/// Event fired when a files is selected for save
		/// </summary>
		/// <param name="sender"></param>
		/// <param name="e"></param>
		private void saveFileDialog1_FileOk(object sender, CancelEventArgs e)
		{

		}
	}
}
